package actions;

import model.Turtle;

/**
 * Actions are ephemeral objects produced when a state-changing action occurs
 * (e.g. a turtle moves). They are only used as a signal for the Observer model
 * used in the communication between model, view, and controller. Since they are
 * ephemeral, I figured that it was all right to just expose their fields and
 * not have getters.
 */
public abstract class AbstractAction
{

    public Turtle turtle;

    public AbstractAction(Turtle turtle)
    {
        this.turtle = turtle;
    }

}
